package dao;
import org.apache.ibatis.annotations.Param;
import pojo.Page;
import pojo.Vender;

import java.util.List;

/**
 * @Author Admin
 * @date 2022/11/18 18:34
 * @Description TODO
 * @Version 1.0
 **/
public interface VenderMapper extends BaseMapper<Vender>{
    //模糊查询 分页查询
    int getCount(@Param("page")Page<Vender> page,@Param("vender") Vender vender);
    List<Vender> venderAllByPage(@Param("page") Page<Vender> page,@Param("vender") Vender vender);
    //新增
    int AddVender(Vender v);
    //修改
    int UpdateVender(Vender v);
    //删除
    int DelVender(String venderCode);
}
